import java.io.FileInputStream;

import org.mortbay.jetty.Server;
import org.mortbay.xml.XmlConfiguration;



/**
 * 
 */

/**
 * @author leiruiqi
 *
 */
public class Start {

	/**
	 * @param args
	 */
	public static void main(String[] args) throws Exception {  
	    Server server = new Server();  
	    XmlConfiguration configuration = new XmlConfiguration(  
	    new FileInputStream(  
	        "xx/demo/jetty-web.xml")); //指定自定义的jetty.xml路径  
	    configuration.configure(server);  
	    server.start();  
	}  

}
